package com.cos.lession78mp.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.cos.lession78mp.dao.EmpMapper;
import com.cos.lession78mp.dao.UserMapper;
import com.cos.lession78mp.entity.SysUser;
import com.cos.lession78mp.service.UserServices;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author: COS
 * @time: 2022/10/11 17:00
 * @description:
 */
@Service
public class UserServicesImpl extends ServiceImpl<UserMapper, SysUser> implements UserServices {
    @Autowired
   private UserMapper userMapper;

//    @Override
//    public boolean addUser(SysUser user) {
//        if (userMapper.insert(user)>0) {
//            return true;
//        }
//        return false;
//    }

    @Override
    public Boolean doSome() {
//        this.list
//        //1 chax
//        userMapper.selectOne(null);
//        //2 xinz
//        this.getOne()
//        this.getOne()
//        this.getOne()
//        this.getOne()
//        this.getOne()
        return null;
    }
}
